import request from '@/utils/request'

enum Api {
  proxy = '/zlm/addStreamProxy'
}

/**
 * 视频拉流
 * @param
 */
export const addStreamProxy = async (params: {
  url: string
  enableHls: boolean
}) => {
  return await request.get(Api.proxy, {
    params
  })
}
